package com.wh.wisdomsite.xbox.du.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 刘旭
 * @version V1.0
 * @Package com.wh.wisdomsite.xbox.du.entity
 * @date 2018年08月05日 21:53
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@TableName("du_dustDevRecord")
public class DustDevRecord extends Model<DustDevRecord> {

    /**
     * 扬尘设备监测点运行记录ID
     */
    @TableId(type = IdType.UUID)
    private String ddrId;

    /**
     *FK, 扬尘设备项目检测点ID
     */
    @TableField("dpcpId")
    private String dpcpId;

    /**
     *采集时间
     */
    @TableField("collectTime")
    private Date collectTime;

    /**
     *空气指数
     */
    @TableField("aqi")
    private Double aqi;

    /**
     *pm2.5指数
     */
    @TableField("pm25")
    private Double pm25;

    /**
     *pm10指数
     */
    @TableField("pm10")
    private Double pm10;

    /**
     *风速
     */
    @TableField("windSpeed")
    private Double windSpeed;

    /**
     *温度
     */
    @TableField("temperature")
    private Double temperature;

    /**
     *湿度
     */
    @TableField("humidity")
    private Double humidity;

    /**
     *噪声
     */
    @TableField("noise")
    private Double noise;

    public String getDdrId() {
        return ddrId;
    }

    public void setDdrId(String ddrId) {
        this.ddrId = ddrId;
    }

    public String getDpcpId() {
        return dpcpId;
    }

    public void setDpcpId(String dpcpId) {
        this.dpcpId = dpcpId;
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }

    public Double getAqi() {
        return aqi;
    }

    public void setAqi(Double aqi) {
        this.aqi = aqi;
    }

    public Double getPm25() {
        return pm25;
    }

    public void setPm25(Double pm25) {
        this.pm25 = pm25;
    }

    public Double getPm10() {
        return pm10;
    }

    public void setPm10(Double pm10) {
        this.pm10 = pm10;
    }

    public Double getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(Double windSpeed) {
        this.windSpeed = windSpeed;
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    public Double getHumidity() {
        return humidity;
    }

    public void setHumidity(Double humidity) {
        this.humidity = humidity;
    }

    public Double getNoise() {
        return noise;
    }

    public void setNoise(Double noise) {
        this.noise = noise;
    }

    @Override
    protected Serializable pkVal() {
        return this.ddrId;
    }
}
